package com.ruoyi.charge.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import com.ruoyi.common.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 充电枪 对象
 *
 * @author laifeng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "core_charger_gun")
public class ChargerGun extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @Id
    private Long id;

    /**
     * 充电桩id
     */
    @Excel(name = "充电桩id")
    private Long chargerId;

    /**
     * 充电桩sn
     */
    @Excel(name = "充电桩sn")
    private String chargerSn;

    /**
     * 枪号
     */
    @Excel(name = "枪号")
    private String number;

    /**
     * 枪状态 0离线 1故障 2空闲3 充电
     */
    @Excel(name = "枪状态")
    private Integer gunStatus;

    /**
     * 是否插枪
     */
    @Excel(name = "是否插枪")
    private Integer isInsert;
}
